<!DOCTYPE html>
            
<HTML>
<HEAD>
<meta name="booktitle" content="Developing Applications With Objective Caml" >
 <meta charset="ISO-8859-1"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<META name="GENERATOR" content="hevea 1.05-7 of 2000-02-24">
<META NAME="Author" CONTENT="Christian.Queinnec@lip6.fr">
<LINK rel=stylesheet type="text/css" href="videoc-ocda.css">
<script language="JavaScript" src="videoc.js"><!--
//--></script>
<TITLE>
 Chapter Plan
</TITLE>
</HEAD>
<BODY class="regularBody">
<A HREF="book-ora138.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Contents"></A>
<A HREF="book-ora140.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>

<H2>Chapter Plan</H2>
This chapter describes Objective CAML's object extension. This extension
does not change any of the features of the language that we already
studied in the previous chapters. A few new reserved keywords are added for the object-oriented
syntax.<BR>
<BR>
The first section describes class declaration syntax, object
instantiation, and message passing. The second section explains the various
relations that may exist between classes. The third section clarifies the
notion of object type and demonstrates the richness of the object extension,
thanks to abstract classes, multiple inheritance, and generic parameterized
classes. The fourth section explains the subtyping relation and shows
its power through inclusion polymorphism. The fifth section deals with
a functional style of object-oriented programming, where the internal state of
the object is not modified, but a modified copy of the receiving object is
returned. The sixth section clarifies other parts of the object-oriented
extension, such as interfaces and local declarations in classes, which allow
class variables to be created.<BR>
<BR>
<HR>
<A HREF="book-ora138.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Contents"></A>
<A HREF="book-ora140.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
